package cn.appsys.service.deve;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.appsys.dao.deve.DicDao;
import cn.appsys.pojo.DataDictionary;

@Service
public class DicServiceImpl implements DicService {
	@Resource
	private DicDao ddi;
	
	@Override
	public List<DataDictionary> getStatusList() {
		return ddi.getList("APP_STATUS");
	}

	@Override
	public List<DataDictionary> getFlatFormList() {
		return ddi.getList("APP_FLATFORM");
	}

	@Override
	public List<DataDictionary> getP_StatusList() {
		return ddi.getList("PUBLISH_STATUS");
	}

	@Override
	public List<DataDictionary> getList(String type) {
		return ddi.getList(type);
	}

}
